package com.jinlia.show.modules.base.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jinlia.show.common.core.entity.BaseEntity;
import com.jinlia.show.modules.base.config.DynamicSchemaConfig;
import lombok.Data;

/**
 * 餐桌
 */
@Data
@TableName(value = "erp_dining_table",schema = DynamicSchemaConfig.schema_system)
public class DiningTable extends BaseEntity {
    @TableId()
    private Long id;
    /**
     * 餐桌号
     */
    private String tableNum;

    /**
     * 公司id
     */
    private Long companyId;
    /**
     * 餐桌状态(0(空闲)->1(预定)->2(占位)->3(点餐)->4(就餐)->0(空闲))
     */
    private int tableStatus;
    /**
     * 结款状态(未结款，已结款)
     */
    private int paymentStatus;
}
